// FM_VCollection_BPA.cpp: implementation of the CFM_VCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/FM_VCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CFM_VCollection_BPA::CFM_VCollection_BPA()
{

}

CFM_VCollection_BPA::~CFM_VCollection_BPA()
{

}

CFM_V_BPA* CFM_VCollection_BPA::GetFirstFM_V()
{
	return (CFM_V_BPA*)CCardCollection_BPA::GetFirstCard();
}

CFM_V_BPA* CFM_VCollection_BPA::Traverse(CFM_V_BPA *pFMV, int nDirection)
{
	return (CFM_V_BPA*)CCardCollection_BPA::Traverse(pFMV,nDirection);
}

CFM_V_BPA* CFM_VCollection_BPA::GetFM_V(char *strBusName, double dkV, char nID)
{
	CFM_V_BPA tempFMV;
	strcpy(tempFMV.m_strName,strBusName);
	tempFMV.m_dkV = dkV;
	tempFMV.m_chID = nID;
	return (CFM_V_BPA*)CCardCollection_BPA::GetCard(&tempFMV);
}
